<template>
  <div>
    <div class="item-info">
      <div
        :class="['single-item', item.flag ? 'active-item' : '']"
        v-for="(item, index) in singleItemList"
        :key="index"
      >
        <div>{{ item.name }}</div>
        <div class="item-logo">
          <img :src="item.logo" alt="" />
        </div>
      </div>
      <div class="single-item-info">
        <div class="info-line1">
          <div>{{ gameTitle }}</div>
          <div class="venue">{{ venueName }}</div>
        </div>
        <div class="info-line2">
          <div class="report-name">成绩公告</div>
          <div>{{ gameTime }}</div>
        </div>
      </div>
    </div>
    <div class="game-table-data">
      <el-table :data="startList" style="width: 100%">
        <el-table-column
          prop="Group"
          label="桌号"
          header-align="center"
          align="center"
        ></el-table-column>
        <el-table-column prop="Team" label="号码"> </el-table-column>
        <el-table-column label="姓名" prop="Name" min-width="130%"> </el-table-column>
        <el-table-column prop="Note" label="备注"></el-table-column>
      </el-table>
    </div>
  </div>
</template>
<script>
import { mapState } from 'vuex'
export default {
  created() {
    this.venueName = this.$route.query.venueName
    this.gameTime = this.$route.query.gameTime
    this.gameTitle = this.$route.query.gameTitle
  },
  props: {},
  data() {
    return {
      venueName: '',
      gameTime: '',
      gameTitle: '',
      startList: [
        {
          Group: 'A1-NS',
          Team: '1',
          Name: '王芃淏-戴汉扬',
          Note: '',
          Ranking: '1',
          Team_: '1',
          Name_: '王芃淏-戴汉扬',
          Gain: '1008.093',
          Penalty: '63.640%'
        },
        {
          Group: 'A1-EW',
          Team: '11',
          Name: '申伟-吴照丰',
          Note: '',
          Ranking: '2',
          Team_: '11',
          Name_: '申伟-吴照丰',
          Gain: '995.152',
          Penalty: '63.430%'
        },
        {
          Group: 'A2-NS',
          Team: '2',
          Name: '裴悦涵-史和明',
          Note: '',
          Ranking: '3',
          Team_: '安徽',
          Name_: '黄烨/张伟',
          Gain: '60.71',
          Penalty: '0.00'
        },
        {
          Group: 'A2-EW',
          Team: '12',
          Name: '张贤-王乐银',
          Note: '',
          Ranking: '4',
          Team_: '山西',
          Name_: '林亚夫/周松鹤',
          Gain: '60.71',
          Penalty: '0.00'
        },
        {
          Group: 'A3-NS',
          Team: '3',
          Name: '刘邓超-余舟',
          Note: '',
          Ranking: '5',
          Team_: '煤矿体协',
          Name_: '龙浩/朱羽',
          Gain: '60.71',
          Penalty: '0.00'
        },
        {
          Group: 'A3-EW',
          Team: '13',
          Name: '黄耀-胡一鸿',
          Note: '',
          Ranking: '6',
          Team_: '江西',
          Name_: '王炜/余明泉',
          Gain: '60.34',
          Penalty: '0.00'
        },
        {
          Group: 'A4-NS',
          Team: '4',
          Name: '褚子杰-高宏剑',
          Note: '',
          Ranking: '7',
          Team_: '深圳',
          Name_: '张邦祥/李建伟',
          Gain: '58.83',
          Penalty: '0.00'
        },
        {
          Group: 'A4-EW',
          Team: '14',
          Name: '张宁-张翔宇',
          Note: '',
          Ranking: '8',
          Team_: '天津',
          Name_: '王卓宽/张孟涛',
          Gain: '58.27',
          Penalty: '0.00'
        },
        {
          Group: 'A5-NS',
          Team: '5',
          Name: '徐立鑫-王粟',
          Note: '',
          Ranking: '9',
          Team_: '上海',
          Name_: '邵子建/单柏松',
          Gain: '57.52',
          Penalty: '0.00'
        },
        {
          Group: 'A5-EW',
          Team: '15',
          Name: '赵芳宸-张博信',
          Note: '',
          Ranking: '10',
          Team_: '陕西',
          Name_: '王剑冰/崔桦',
          Gain: '56.95',
          Penalty: '0.00'
        },
        {
          Group: 'A6-NS',
          Team: '6',
          Name: '赵泉-陈晓龙',
          Note: '',
          Ranking: '11',
          Team_: '广东',
          Name_: '刘松/陈纪恩',
          Gain: '56.58',
          Penalty: '0.00'
        },
        {
          Group: 'A6-EW',
          Team: '16',
          Name: '魏文杰-吕欣洋',
          Note: '',
          Ranking: '12',
          Team_: '北京',
          Name_: '李小毅/胡林林',
          Gain: '55.83',
          Penalty: '0.00'
        },
        {
          Group: 'A7-NS',
          Team: '7',
          Name: '顾嘉文-曾挚',
          Note: '',
          Ranking: '13',
          Team_: '湖北',
          Name_: '刘世铜/梁一雄',
          Gain: '54.70',
          Penalty: '0.00'
        },
        {
          Group: 'A7-EW',
          Team: '17',
          Name: '连博-李冰远',
          Note: '',
          Ranking: '14',
          Team_: '黑龙江',
          Name_: '姚卫/隋杰',
          Gain: '54.51',
          Penalty: '0.00'
        },
        {
          Group: 'B1-NS',
          Team: '21',
          Name: '于昊卿-仇实',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'B1-EW',
          Team: '31',
          Name: '温家琦-游铭豪',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'B2-NS',
          Team: '22',
          Name: '陈昆-朱志诚',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'B2-EW',
          Team: '32',
          Name: '王玉飞-余紫阳',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'B3-NS',
          Team: '23',
          Name: '舒健-王涛',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'B3-EW',
          Team: '33',
          Name: '殷家莘-房正阳',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'B4-NS',
          Team: '24',
          Name: '方军-钱宇',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'B4-EW',
          Team: '34',
          Name: '刘昊辰-邓程',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'B5-NS',
          Team: '25',
          Name: '刘怿泓-袁智杰',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'B5-EW',
          Team: '35',
          Name: '金凯-朱辰宇',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'B6-NS',
          Team: '26',
          Name: '孙世昱-姜保卓',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'B6-EW',
          Team: '36',
          Name: '金堃-韦继彪',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'B7-NS',
          Team: '27',
          Name: '刘浩荡-夏瑛珏',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'B7-EW',
          Team: '37',
          Name: '郭晓磊-周川尧',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'C1-NS',
          Team: '41',
          Name: '李浩宇-高翔',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'C1-EW',
          Team: '51',
          Name: '缪本杰-顾斯嘉',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'C2-NS',
          Team: '42',
          Name: '王运豪-李子钰',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'C2-EW',
          Team: '52',
          Name: '向望-韦文昊',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'C3-NS',
          Team: '43',
          Name: '周晓曦-刘鑫浩',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'C3-EW',
          Team: '53',
          Name: '邵千芊-黄文锋',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'C4-NS',
          Team: '44',
          Name: '杨上力-刘汶鑫',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'C4-EW',
          Team: '54',
          Name: '邵雨桐-范轩诚',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'C5-NS',
          Team: '45',
          Name: '黄宇杰-李浩',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'C5-EW',
          Team: '55',
          Name: '卢桂栋-邓家钊',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'C6-NS',
          Team: '46',
          Name: '赵清扬-贺焱三',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'C6-EW',
          Team: '56',
          Name: '肖建强-韩冬',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'C7-NS',
          Team: '47',
          Name: '陈思远-王晴枫',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'C7-EW',
          Team: '57',
          Name: '唐博时-张靖',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'C8-NS',
          Team: '48',
          Name: '李渃宇-陈璧藤',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'C8-EW',
          Team: '58',
          Name: '刘国松-袁孟新',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'C9-NS',
          Team: '49',
          Name: '胡宇杰-鲁茼',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'C9-EW',
          Team: '59',
          Name: '李泓波-宋子同',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        },
        {
          Group: 'C10-EW',
          Team: '60',
          Name: '朱汉卿-李靖逸',
          Note: null,
          Ranking: null,
          Team_: null,
          Name_: null,
          Gain: null,
          Penalty: null
        }
      ],
      singleItemList: [
        {
          name: '桥牌',
          logo: require('../../assets/img/daily/BR.png'),
          flag: true
        }
      ]
    }
  },
  watch: {},
  computed: {},
  filters: {},
  components: {},
  methods: {}
}
</script>
<style scoped lang="scss">
@import '@/assets/scss/item.scss';
</style>
